package service.impl;

import bean.pojo.GdService;
import dao.GdServiceMapper;
import org.springframework.stereotype.Service;
import service.GdServiceService;

import javax.annotation.Resource;
import java.util.List;

@Service
public class GdServiceServiceImpl implements GdServiceService {

    @Resource
    private GdServiceMapper gdServiceMapper;

    public int insert(GdService pojo){
        return gdServiceMapper.insert(pojo);
    }

    public int insertList(List< GdService> pojos){
        return gdServiceMapper.insertList(pojos);
    }

    public List<GdService> select(GdService pojo){
        return gdServiceMapper.select(pojo);
    }

    public int update(GdService pojo){
        return gdServiceMapper.update(pojo);
    }

}
